package VN.EDU.IMIC.DEVELOPER.NGUYENTHUYOANH_LV1_01;

public class Controller {
	//1.Datafield
private Account m_objAccount;
private Models m_objModels;


//2. Ham khoi tao

public Controller(Account m_objAccount, Models m_objModels) {

	this.m_objAccount = m_objAccount;
	this.m_objModels = m_objModels;
}
//3. Uy quyen thuc thi nghiep vu thong qua Model

public boolean KiemTraKhongDagNhap()
{
	if( m_objModels.KTraKhongDangNhap(m_objAccount))
		return true;
	return false;
}
 
public boolean KiemTraThongTinNguoiDung()
{
	if(m_objModels.KTraThongTinNguoiDung(m_objAccount))
		return true;
	return false;
}
}
